package com.wangyadong.hobby.test;

import java.beans.PropertyEditorSupport;

public class DependOnExoticType extends PropertyEditorSupport {


    private ExoticType type;


    @Override
    public void setAsText(String text) throws IllegalArgumentException {
       setValue(new ExoticType(text.toUpperCase()));
    }
}
